package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到对象 checkin
 * 
 * @author ruoyi
 * @date 2023-12-15
 */
public class Checkin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到ID */
    private Long checkInID;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long employeeID;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInTime;

    /** 签退时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签退时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkOutTime;

    public void setCheckInID(Long checkInID) 
    {
        this.checkInID = checkInID;
    }

    public Long getCheckInID() 
    {
        return checkInID;
    }
    public void setEmployeeID(Long employeeID) 
    {
        this.employeeID = employeeID;
    }

    public Long getEmployeeID() 
    {
        return employeeID;
    }
    public void setCheckInTime(Date checkInTime) 
    {
        this.checkInTime = checkInTime;
    }

    public Date getCheckInTime() 
    {
        return checkInTime;
    }
    public void setCheckOutTime(Date checkOutTime) 
    {
        this.checkOutTime = checkOutTime;
    }

    public Date getCheckOutTime() 
    {
        return checkOutTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkInID", getCheckInID())
            .append("employeeID", getEmployeeID())
            .append("checkInTime", getCheckInTime())
            .append("checkOutTime", getCheckOutTime())
            .toString();
    }
}
